<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>

<%@ page import="com.chanyachting.emall.util.*" %>
<%@ page import="java.util.*" %>

<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ page import="com.chanyachting.emall.util.RequestUtil" %>
<%@ page import="com.chanyachting.emall.service.*" %>
<%@ page import="com.chanyachting.emall.serviceImpl.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="css/import.css" type="text/css" rel="stylesheet" />
<title></title>


</head>

<body>
<div class="tab_box">
	<div class="tab_menu">
        <a href="company_info_update.jsp">公司信息修改</a>
        <a href="company_yellowpage_update.jsp" class="current">管理企业黄页</a>
    </div>
	<div class="tab_submenu">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%">&nbsp;</td>
          <td align="right"><strong><a href="#">预览</a><a href="#">打印</a><a href="#">导出</a></strong></td>
        </tr>
      </table>
	</div>
</div>

<%
	//获得公司信息 
	//从session中获得公司对象
	RequestUtil ru=new RequestUtil(request);
	
	Company company=(Company)ru.getSessionObject(CompanyService.COMPANY_IN_SESSION,new Company());
%>


<%= ru.getMsg() %>

<form action="<%=root %>/memberBackend/yellowpageUpdate.do" method="post" enctype="multipart/form-data" name="form3" id="form3">

<input type="hidden" name="id" value="<%= company.getId()==null?"0":company.getId() %>" />

  <div id="bigbox_02">
    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100" height="28" class="td_bottom">　<strong>企业黄页介绍</strong></td>
        <td width="0" class="td_bottom">&nbsp;</td>
      </tr>
      <tr>
        <td height="130">&nbsp;</td>
        <td valign="bottom"><p>&nbsp;
            </p>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="49%"><label>
                <textarea name="yellowPageSummary" id="textarea3" cols="50" rows="7"><%= company.getYellowPageSummary() %></textarea>
              </label></td>
              <td width="51%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="80" align="right">&nbsp;</td>
                    <td width="173"><img src="<%= company.getYellowPageImgUrl() %>" width="128" height="86" /></td>
                  </tr>
                  <tr>
                    <td height="28" align="right">上传/修改：</td>
                    <td><label>
                      <input type="file" name="yellowPageFile" id="fileField5" />
                    </label></td>
                  </tr>
              </table></td>
            </tr>
          </table>
          <p>
            <label></label>
        </p></td>
      </tr>
      <tr>
        <td class="td_bottom">　<strong>选择多个关键词</strong></td>
        <td height="28" class="td_bottom">&nbsp;</td>
      </tr>
      <tr>
        <td height="126">&nbsp;</td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="28">行业次分类</td>
            <td align="center">&nbsp;</td>
            <td>主营产品服务</td>
            <td align="center">&nbsp;</td>
            <td>关键词选择</td>
          </tr>
          <tr>
            <td width="20%"><label>
              <textarea name="textarea" id="textarea" cols="20" rows="5"></textarea>
            </label></td>
            <td width="10%" align="center"><label>
              <input type="button" name="button4" id="button4" value="添加" />
              <br />
              <input type="button" name="button4" id="button4" value="删除" />
              </label>
                <br /></td>
            <td width="20%"><label>
              <textarea name="textarea" id="textarea2" cols="20" rows="5"></textarea>
            </label></td>
            <td width="10%" align="center"><label>
              <input type="button" name="button4" id="button6" value="添加" />
              <input type="button" name="button4" id="button6" value="删除" />
            </label></td>
            <td><label>
              <textarea name="textarea" id="textarea4" cols="20" rows="5"></textarea>
            </label></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" class="td_bottom">&nbsp;</td>
      </tr>
      <tr>
        <td height="60" align="center"><label>
          <input type="submit" name="button2" id="button2" value="保存" />
          <input type="reset" name="button5" id="button5" value="取消" />
        </label></td>
      </tr>
    </table>
  </div>
</form>
<p>&nbsp;</p>
</body>
</html>

